package com.lovo.bean;

public class OuterClass {
    public class InnerClass{

    }
    public void show(){
        class InnerClass1{

        }

        Object obj = new Object(){
            public String toString(){
                return "匿名内部类";
            }
        };
        System.out.println(obj);
    }

    public static void main(String[] args) {
        OuterClass o = new OuterClass();
        o.show();
    }
}
